# -*- coding:utf-8 -*-
from flask import Flask
from setting import config
from app.urls import indexBlueprint

# 创建app
app = Flask(
    __name__,
    template_folder=config["Default"].TEMPLATE_FOLDER,
    static_folder=config["Default"].STATIC_FOLDER,
)

# 注册蓝图
app.register_blueprint(indexBlueprint)

if __name__ == "__main__":
	app.run()